import request from '@/utils/request'
const apiUrl = '/api/employee-verification'
// 获取员工入职信息核定表列表
export function getEmployeeVerificationList(params) {
    return request({
        url: `${apiUrl}/list`,
        method: 'get',
        params
    })
}

// 获取员工入职信息核定表详情
export function getEmployeeVerification(id) {
    return request({
        url: `${apiUrl}/${id}`,
        method: 'get'
    })
}

// 创建员工入职信息核定表
export function createEmployeeVerification(data) {
    return request({
        url: `${apiUrl}`,
        method: 'post',
        data
    })
}

// 更新员工入职信息核定表
export function updateEmployeeVerification(id, data) {
    return request({
        url: `${apiUrl}/${id}`,
        method: 'put',
        data
    })
}

// 删除员工入职信息核定表
export function deleteEmployeeVerification(id) {
    return request({
        url: `${apiUrl}/${id}`,
        method: 'delete'
    })
} 